package org.weso.desempleo.services.to;

import java.util.LinkedList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import org.weso.desempleo.to.SectorStatsTO;


@XmlRootElement(name = "listSectoresStatsTO")
@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlType(name = "listSectoresStastsTO", propOrder = {
})
public class ListSectoresStatsTO {
	
	List<SectorStatsTO> items;

	public ListSectoresStatsTO() {
		items = new LinkedList<SectorStatsTO>();
	}
	
	public ListSectoresStatsTO(List<SectorStatsTO> list) {
		this.items = list;
	}

	
	
	public List<SectorStatsTO> getItems() {
		return items;
	}

	public void setItems(List<SectorStatsTO> items) {
		this.items = items;
	}

	public void add(SectorStatsTO sector) {
		this.items.add(sector);
	}
	

}
